import { MenuTheme } from 'antd/es/menu/MenuContext';

export type ContentWidth = 'Fluid' | 'Fixed';

export interface DefaultSettings {
	/**
   * theme for nav menu
   */
	navTheme: MenuTheme;
	/**
   * primary color of ant design
   */
	primaryColor: string;
	/**
   * nav menu position: `sidemenu` or `topmenu`
   */
	layout: 'sidemenu' | 'topmenu';
	/**
   * Layout of content: `Fluid` or `Fixed`, only works when Layout is topmenu
   */
	contentWidth: ContentWidth;
	/**
   * sticky header
   */
	fixedHeader: boolean;
	/**
   * auto hide header
   */
	autoHideHeader: boolean;
	/**
   * sticky siderbar
   */
	fixSiderbar: boolean;
	menu: { locale: boolean };
	title: string;
	pwa: boolean;
	// Your custom iconfont Symbol script Url
	// eg：//at.alicdn.com/t/font_1039637_btcrd5co4w.js
	// 注意：如果需要图标多色，Iconfont 图标项目里要进行批量去色处理
	// Usage: https://github.com/ant-design/ant-design-pro/pull/3517
	iconfontUrl: string;
	colorWeak: boolean;
}

export default {
	navTheme: 'dark',
	// 拂晓蓝
	primaryColor: 'daybreak',
	layout: 'sidemenu',
	contentWidth: 'Fixed',
	fixedHeader: false,
	autoHideHeader: false,
	fixSiderbar: false,
	colorWeak: false,
	menu: {
		locale: false
	},
	title: '数字工程平台',
	pwa: false,
	iconfontUrl: '',
	fileServerAddress: 'http://csfwq.msdi.cn:7000',//文件上传服务器地址
	ManagePlanDownUrl: 'http://csfwq.msdi.cn:7000/?20200603171248768823862508706285',//项目策划管理计划下载报告规范url
	ImpPlanDownUrl: 'http://csfwq.msdi.cn:7000/?20200603171248768823862508706285',//项目实施计划下载报告规范url

} as DefaultSettings;
